package cn.webrx;

import org.apache.commons.lang3.StringUtils;

public class Su1 {
    public static void main(String[] args) {
        for (int i = 1; i <= 25; i += 2)
            System.out.println(StringUtils.center("*".repeat(i), 25,'a'));
        for (int i = 23; i >= 1; i -= 2)
            System.out.println(StringUtils.center("*".repeat(i), 25, "bc"));

        String str = StringUtils.center(" 银行柜员机系统 ", 35, "*");
        System.out.println(str);
    }
}
